package com.example.learn_gl_android.anglib.core.carmera

import com.example.learn_gl_android.anglib.core.IComponent
import com.example.learn_gl_android.anglib.util.math.Matrix4x4

class Camera  : IComponent{
    val viewMatrix = Matrix4x4.one()
    val projectionMatrix = Matrix4x4.one()

    fun picture(modelMatrix : Matrix4x4) : Matrix4x4 {
        return projectionMatrix * viewMatrix * modelMatrix
    }

}